package com.jn.exam.webSocket.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 记录学生考试的上线还是下线动作
 * </p>
 *
 * @author 江南大学1033190417
 * @since 2022-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ExamStudentOnline对象", description="记录学生考试的上线还是下线动作")
public class ExamStudentOnline implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "考试id")
    private String examId;

    @ApiModelProperty(value = "学会id")
    private String studentId;

    @ApiModelProperty(value = "下线还是上线（1：上线，0：下线）")
    private Boolean online;

    @ApiModelProperty(value = "动作时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;


}
